package services;

import beans.ManagerInfoBean;
import dao.ManagerInfoDao;
import dao.ManagerInfoDaoImpl;

public class ManagerService implements ManagerInfoDao {
    private final ManagerInfoDaoImpl manager = new ManagerInfoDaoImpl();

    @Override
    public int insertManager(ManagerInfoBean maj) {
        return manager.insertManager(maj);
    }

    @Override
    public String getPasswordById(String id) {
        return manager.getPasswordById(id);
    }

    @Override
    public String getIsRootById(String id) {
        return manager.getIsRootById(id);
    }

}
